trace
returns the trace of the argument matrix. This is the
sum of the terms on the main diagonal.
trace.r
file in the
standard rlib
directory. Use of the -r
option, incorrectly
setting the RLAB_LIB_DIR
environmental variable, or modifying
trace.r
may make this function unavailable.